﻿using ErrorOr;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gym.Domain.Common.EventualConsistency
{
    public static class EventualConsistencyError
    {
        public const int EventualConsistencyType = 100;

        public static Error From(string code, string description)
        {
            return Error.Custom(EventualConsistencyType, code, description);
        }
    }
}
